<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>templi php 框架: Image类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">templi php 框架
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>函数</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classImage-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">Image类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:aff7676c0522073ede4838b1491000084"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImage.html#aff7676c0522073ede4838b1491000084">getImageInfo</a> ($img)</td></tr>
<tr class="separator:aff7676c0522073ede4838b1491000084"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaafafa7890673452b4c2a017ef36bdb"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImage.html#aeaafafa7890673452b4c2a017ef36bdb">water</a> ($source, $water, $savename=null, $alpha=80)</td></tr>
<tr class="separator:aeaafafa7890673452b4c2a017ef36bdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a082b192cae11f062f56a8be4bc6ff197"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a082b192cae11f062f56a8be4bc6ff197"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><b>showImg</b> ($imgFile, $text='', $x='10', $y='10', $alpha='50')</td></tr>
<tr class="separator:a082b192cae11f062f56a8be4bc6ff197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a798afb8910fc93d0b622c3e495becab9"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImage.html#a798afb8910fc93d0b622c3e495becab9">thumb</a> ($image, $thumbname, $type='', $maxWidth=200, $maxHeight=200, $interlace=true)</td></tr>
<tr class="separator:a798afb8910fc93d0b622c3e495becab9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f53a0923dcdf65ba963004946e21c1d"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImage.html#a6f53a0923dcdf65ba963004946e21c1d">thumb2</a> ($image, $thumbname, $type='', $maxWidth=200, $maxHeight=50, $interlace=true)</td></tr>
<tr class="separator:a6f53a0923dcdf65ba963004946e21c1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ebcde07018d1116b42a6c0d0e697dc7"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImage.html#a2ebcde07018d1116b42a6c0d0e697dc7">buildString</a> ($string, $size=array(), $font=array(), $filename='', $rgb=array(), $type='png', $disturb=3, $border=true)</td></tr>
<tr class="separator:a2ebcde07018d1116b42a6c0d0e697dc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace441affb437449e5252e4ade1d188ed"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImage.html#ace441affb437449e5252e4ade1d188ed">showASCIIImg</a> ($image, $string='', $type='')</td></tr>
<tr class="separator:ace441affb437449e5252e4ade1d188ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a51c9ccb2b1e059c8c35748d94c986c"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classImage.html#a1a51c9ccb2b1e059c8c35748d94c986c">UPCA</a> ($code, $type='png', $lw=2, $hi=100)</td></tr>
<tr class="separator:a1a51c9ccb2b1e059c8c35748d94c986c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb7982f6b32b30e736f38290d21c62dd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb7982f6b32b30e736f38290d21c62dd"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><b>output</b> ($im, $type='png', $filename='')</td></tr>
<tr class="separator:abb7982f6b32b30e736f38290d21c62dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>图像操作类库 thinkphp </p>
<dl class="section author"><dt>作者</dt><dd>liu21st <a href="#" onclick="location.href='mai'+'lto:'+'liu'+'21'+'st@'+'gm'+'ail'+'.c'+'om'; return false;">liu21<span style="display: none;">.nosp@m.</span>st@g<span style="display: none;">.nosp@m.</span>mail.<span style="display: none;">.nosp@m.</span>com</a> </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a2ebcde07018d1116b42a6c0d0e697dc7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Image::buildString </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$size</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$font</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$filename</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$rgb</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$type</em> = <code>'png'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$disturb</em> = <code>3</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$border</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>根据给定的字符串生成图像</p>
<p>public </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$string</td><td>字符串 </td></tr>
    <tr><td class="paramtype">array&#160;|&#160;string</td><td class="paramname">$size</td><td>图像大小 width,height 或者 array(width,height) </td></tr>
    <tr><td class="paramtype">array&#160;|&#160;string</td><td class="paramname">$font</td><td>字体信息 fontface,fontsize 或者 array(fontface,fontsize) </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$filename</td><td></td></tr>
    <tr><td class="paramtype">array</td><td class="paramname">$rgb</td><td></td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$type</td><td>图像格式 默认PNG </td></tr>
    <tr><td class="paramtype">integer</td><td class="paramname">$disturb</td><td>是否干扰 1 点干扰 2 线干扰 3 复合干扰 0 无干扰 4 间断直线 </td></tr>
    <tr><td class="paramtype">bool</td><td class="paramname">$border</td><td>是否加边框 array(color) </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classAbnormal.html">Abnormal</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>string </dd></dl>

</div>
</div>
<a class="anchor" id="aff7676c0522073ede4838b1491000084"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Image::getImageInfo </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$img</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>取得图像信息</p>
<p>public </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">$img</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ace441affb437449e5252e4ade1d188ed"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Image::showASCIIImg </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$string</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$type</em> = <code>''</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把图像转换成字符显示</p>
<p>public </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$image</td><td>要显示的图像 </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$string</td><td></td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$type</td><td>图像类型，默认自动获取 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>string </dd></dl>

</div>
</div>
<a class="anchor" id="a798afb8910fc93d0b622c3e495becab9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Image::thumb </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$thumbname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$type</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$maxWidth</em> = <code>200</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$maxHeight</em> = <code>200</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$interlace</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>生成缩略图</p>
<p>public </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$image</td><td>原图 </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$thumbname</td><td>缩略图文件名 </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$type</td><td>图像格式 </td></tr>
    <tr><td class="paramtype">int&#160;|&#160;string</td><td class="paramname">$maxWidth</td><td>宽度 </td></tr>
    <tr><td class="paramtype">int&#160;|&#160;string</td><td class="paramname">$maxHeight</td><td>高度 </td></tr>
    <tr><td class="paramtype">boolean</td><td class="paramname">$interlace</td><td>启用隔行扫描 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6f53a0923dcdf65ba963004946e21c1d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Image::thumb2 </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$thumbname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$type</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$maxWidth</em> = <code>200</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$maxHeight</em> = <code>50</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$interlace</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>+-------------------------------------------------------&mdash; 生成特定尺寸缩略图 解决原版缩略图不能满足特定尺寸的问题 PS：会裁掉图片不符合缩略图比例的部分 +-------------------------------------------------------&mdash;</p>
<p>public +-------------------------------------------------------&mdash; </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$image</td><td>原图 </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$thumbname</td><td>缩略图文件名 </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$type</td><td>图像格式 </td></tr>
    <tr><td class="paramtype">int&#160;|&#160;string</td><td class="paramname">$maxWidth</td><td>宽度 </td></tr>
    <tr><td class="paramtype">int&#160;|&#160;string</td><td class="paramname">$maxHeight</td><td>高度 </td></tr>
    <tr><td class="paramtype">boolean</td><td class="paramname">$interlace</td><td>启用隔行扫描 +-------------------------------------------------------&mdash; </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void +-------------------------------------------------------&mdash; </dd></dl>

</div>
</div>
<a class="anchor" id="a1a51c9ccb2b1e059c8c35748d94c986c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Image::UPCA </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$code</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$type</em> = <code>'png'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$lw</em> = <code>2</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$hi</em> = <code>100</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>生成UPC-A条形码</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramtype"></td><td class="paramname">$code</td><td></td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$type</td><td>图像格式 </td></tr>
    <tr><td class="paramtype">int&#160;|&#160;string</td><td class="paramname">$lw</td><td>单元宽度 </td></tr>
    <tr><td class="paramtype">int&#160;|&#160;string</td><td class="paramname">$hi</td><td>条码高度 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>string </dd></dl>

</div>
</div>
<a class="anchor" id="aeaafafa7890673452b4c2a017ef36bdb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Image::water </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$water</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$savename</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$alpha</em> = <code>80</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>为图片添加水印 public </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$source</td><td>原文件名 </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$water</td><td>水印图片 </td></tr>
    <tr><td class="paramtype">null</td><td class="paramname">$savename</td><td></td></tr>
    <tr><td class="paramtype">int&#160;|&#160;string</td><td class="paramname">$alpha</td><td>水印的透明度 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>templi/Image.class.php</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2014年 一月 15日 星期三 15:42:01 , 为 templi php 框架使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
